<template>
	<view class="orderDetail">
		<zhu-nav-bar title="购买订单" bgColor="#fff" leftColor="#000" sizeColor="#111"></zhu-nav-bar>
		<view class="orderDetail-plate-1">
			<order-state orderState="已发货" endTime="9天23小时59分" :iconUrl="require('@/static/img/orderHome/daishouhuo-icon.png')"></order-state>
		</view>
		<view class="orderDetail-plate-2">
			<order-address address="陆** 186****1231 河南省郑州市金水区花园北路省直花园小区1单号楼1单元111" code="000000"></order-address>
		</view>
		<view class="orderDetail-plate-3">
			<order-goods :goodsImgUrl="require('@/static/img/financial/financial-top-bg.png')" goodsName="babycare儿童点读笔通用英语学习
			点读机幼儿小孩早教故事机益智" goodsDesc="点读笔16G+5张挂卡+16本书" goodsPrice="339.00" goodsNum="1"></order-goods>
			<order-pay-price goodsNum="1" goodsPrice="339.00"></order-pay-price>
		</view>
		<view class="orderDetail-plate-4">
			<order-info orderCode="15654152456" foundTime="2020-12-14 16:58:32" payTime="2020-12-14 16:58:32" deliveryTime="2020-12-14 16:58:32" orderAddress="河南郑州电信ADSL"></order-info>
		</view>
		<view class="orderDetail-plate-5">
			<navigator url="logistics/logistics" hover-class="none" open-type="navigate">
				<view>查看物流</view>
			</navigator>
		</view>
	</view>
</template>

<script>
	import zhuNavBar from '@/pages/components/zhuNavBar.vue'
	import orderGoods from '@/pages/components/orderGoods.vue'
	import orderPayPrice from '@/pages/components/orderPayPrice.vue'
	import orderAddress from '@/pages/components/orderAddress.vue'
	import orderInfo from '@/pages/components/orderInfo.vue'
	import orderState from '@/pages/components/orderState.vue'
	export default {
		data() {
			return {
				
			};
		},
		components: {
			zhuNavBar,
			orderGoods,
			orderPayPrice,
			orderAddress,
			orderInfo,
			orderState
		},
	}
</script>

<style lang="scss" scoped>
.orderDetail{
	width: 100vw;
	min-height: 100vh;
	background-color: #f9f9f9;
	.orderDetail-plate-1{
		padding-top: calc(88rpx + var(--status-bar-height));
		background-color: #fff;
		padding-left: 30rpx;
		padding-right: 30rpx;
		.content{
			height: 143rpx;
			display: flex;
			align-items: center;
			border-bottom: 1rpx solid #eee;
			.left{
				width: 80rpx;
				height: 80rpx;
				background: #3989ff;
				border-radius: 10rpx;
				display: flex;
				align-items: center;
				justify-content: center;
				margin-right: 23rpx;
				image{
					width: 46rpx;
				}
			}
			.right{
				display: flex;
				flex-direction: column;
				text:first-child{
					font-size: 28rpx;
					font-weight: 500;
					color: #333333;
					margin-bottom: 18rpx;
				}
				text:last-child{
					font-size: 24rpx;
					font-weight: 500;
					color: #999999;
				}
			}
		}
	}
	.orderDetail-plate-3{
		margin-top: 30rpx;
		padding-top: 30rpx;
		background-color: #fff;
	}
	.orderDetail-plate-5{
		position: fixed;
		bottom: 0;
		left: 0;
		width: 750rpx;
		height: 100rpx;
		background: #ffffff;
		display: flex;
		align-items: center;
		justify-content: flex-end;
		padding: 0 30rpx;
		view{
			width: 200rpx;
			height: 60rpx;
			background: #367fff;
			border-radius: 40rpx;
			font-size: 30rpx;
			color: #ffffff;
			display: flex;
			align-items: center;
			justify-content: center;
		}
	}
}
</style>
